package dao;

import java.math.BigDecimal;

public class Apple extends Fruit{

    public String name;
    public BigDecimal price;
    public BigDecimal discount ;
    public Apple() {
        name = "Apple";
        price = BigDecimal.valueOf(8);
    }

    public Apple(BigDecimal discount) {
        name = "Strawberry";
        price = BigDecimal.valueOf(13);
        this.discount = discount;
    }
}
